package spring;

/**
 * @ProjectName: Spring
 * @Package: spring
 * @ClassName: DefaultObjectFactory
 * @Author: zxh
 * @Description:
 * @Date: 2022/3/24 23:07
 * @Version: 1.0
 */
public class DefaultObjectFactory implements ObjectFactory {

    private Object exposedObject;

    public DefaultObjectFactory(Object exposedObject) {
        this.exposedObject = exposedObject;
    }

    @Override
    public Object getObject() {
        return exposedObject;
    }

}